package com.xqnode.consumer;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author dell
 */
@FeignClient("service-provider")
public interface ProviderClient {

    @GetMapping("/provider/{param}")
    String get(@PathVariable(value = "param") String param);
}
